package org.melanesia.beans.exceptions;

/**
 * SQLMapperException is a superclass for all of the other Melanesia-framework
 * exceptions.
 *
 * @author marcin.kielar
 */
public class BeanAccessException extends RuntimeException {

    /** Serial version uid for serialization. */
    private static final long serialVersionUID = 3349031302584526733L;

    /**
     * Constructs new {@link BeanAccessException} with the specified detail
     * message.
     *
     * @param message
     *            message
     */
    public BeanAccessException(final String message) {
        super(message);
    }

    /**
     * Constructs new {@link BeanAccessException} with the specified cause.
     *
     * @param cause
     *            the cause
     */
    public BeanAccessException(final Throwable cause) {
        super(cause);
    }

    /**
     * Constructs new {@link BeanAccessException} with the specified detail
     * message and a cause.
     *
     * @param message
     *            message
     * @param cause
     *            the cause
     */
    public BeanAccessException(final String message, final Throwable cause) {
        super(message, cause);
    }

}
